#ifndef RSUTRANSINITRSUONLY_H
#define RSUTRANSINITRSUONLY_H

#include <QObject>
#include "rsutransmgr.h"

class RsuTransInitRsuOnly: public RsuTransMgr
{
    Q_OBJECT

    enum TRANS_STEP {
        TS_INIT_RSU,            // 初始化RSU
        TS_UN_KNOWN             // 未知
    };

public:
    explicit RsuTransInitRsuOnly(RsuCtrl *pRsuCtrl, QObject *parent = 0):
        RsuTransMgr(pRsuCtrl, parent)
    {
    }

    void start();
    void processRsuFrame(quint8 nFrameIndex, quint8 nFrameType, const QByteArray &frame);

protected slots:
    void transTimeout()
    {
        start();
    }
};

#endif // RSUTRANSINITRSUONLY_H
